/*
 * @Author: 
 * @Date: 2022-02-09 16:21:00
 * @LastEditors: lqj
 * @LastEditTime: 2022-02-14 14:52:12
 * @Description: redux -> store
 */
import { createStore, applyMiddleware } from 'redux'
// redux开发者工具插件
import { composeWithDevTools } from 'redux-devtools-extension'
// 用于支持异步action
import thunk from 'redux-thunk'
import allReducer from './module/index'

export default createStore(allReducer, composeWithDevTools(applyMiddleware(thunk)))